package com.xiaomazi.edu.service;

import com.xiaomazi.common.utils.R;
import com.xiaomazi.edu.dto.TeacherQuery;
import com.xiaomazi.edu.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
public interface TeacherService extends IService<Teacher>{


    /**
     * 根据多重条件查询讲师
     * @param teacherQuery
     * @return
     */
    R pageListTeacherByQuery(TeacherQuery teacherQuery);

    /**
     * 根据讲师Id查询讲师信息和主讲课程
     * @param teacherId 讲师Id
     * @return data
     */
    R getTeacherInfoById(String teacherId);
}
